//
//  Masonry.h
//  Masonry
//
//  Created by Jonas Budelmann on 20/07/13.
//  Copyright (c) 2013 cloudling. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIColor+INB.h"
#import "MBProgressHUD+MJ.h"
#import "Masonry.h"
#import "WWPortManagerTool.h"
#import "NSObject+WSTGetCurrentViewController.h"
#import "UIImageView+WebCache.h"
#import "LCModel.h"
#import "AlertView.h"
#import "LocateTempTarget.h"
#import "LCRequester.h"
#import "LCWebViewController.h"

typedef enum : NSUInteger {
    AWAITING = 1,  /// 拨打中
    CONNECTING, /// 通话中
    HANGUP,  /// 挂断
} LCCallingType;

#define kScreenWidth [[UIScreen mainScreen] bounds].size.width
#define kScreenHeight [[UIScreen mainScreen] bounds].size.height
#define INBUIApplication        [UIApplication sharedApplication]
#define INBKeyWindow   (INBUIApplication.keyWindow)
#define INBWeakVar(__WEAK_VAR__, __STRONG_VAR__) __block __typeof(&*__STRONG_VAR__) __weak __WEAK_VAR__ = __STRONG_VAR__;
#define INBStrongVar(__STRONG_VAR__, __WEAK_VAR__) __block __typeof(&*__WEAK_VAR__) __strong __STRONG_VAR__ = __WEAK_VAR__;
#define INBWeakSelf INBWeakVar(zelf, self)
#define INBStrongSelf INBStrongVar(self, zelf)
#define AutoNavigationHeight [WWPortManagerTool defaultTool].navigationHeight
#define AutoTabbarHeight [WWPortManagerTool defaultTool].tabbarHeight
#define AutoBottomHeight [WWPortManagerTool defaultTool].bottomHeight
#define AutoStateHeight [WWPortManagerTool defaultTool].stateHeight
